home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000059_evans@optilink.dsccc.com_Wed Dec 14 20:13:33 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  3KB

  1. Received: from relay3.UU.NET by cs.umb.edu with SMTP id AA25826
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 14 Dec 1994 20:13:33 -0500
  3. Received: from offramp.dsccc.com by relay3.UU.NET with SMTP 
  4.     id QQxuhw25576; Wed, 14 Dec 1994 20:13:32 -0500
  5. Received: by offramp.dsccc.com (5.67b/SMI-V1.8)
  6.     id AA09626; Wed, 14 Dec 1994 19:14:16 -0600
  7. Received: from onramp(192.245.102.129) by offramp via smap (V1.3mjr)
  8.     id sma009615; Wed Dec 14 19:13:56 1994
  9. Received: from optilink.dsccc.com 
  10.     by camelot.dsccc.com (5.65c/SMI-V1.8)
  11.     id AA03317; Wed, 14 Dec 1994 19:14:14 -0600
  12. Received: from unknown (toronto) by optilink.dsccc.com (4.1/SMI-4.0)
  13.     id AA13136; Wed, 14 Dec 94 17:12:51 PST
  14. From: evans@optilink.dsccc.com (Dave Evans)
  15. Message-Id: <9412150112.AA13136@optilink.dsccc.com>
  16. Subject: dvipsk (kpathsea) bug report
  17. To: tex-k@cs.umb.edu
  18. Date: Wed, 14 Dec 94 17:10:19 "PST
  19. Mailer: Elm [revision: 70.85]
  20.  
  21. Wed Dec 14 16:50:38 1994  Dave Evans (evans@optilink.dsccc.com)
  22.  
  23. dvipsk bug report:
  24.  
  25.     * version 5.58c
  26.  
  27.     * tex-make.c (set_maketex_mag): Negative magstep wasn't handled
  28.       correctly. Negative magsteps are used when the font size is
  29.       being reduced. I ran across this (apparently for the first
  30.       time) when using 2up.tex in Timothy Van Zandt's seminar.sty
  31.       LaTeX package. 
  32.  
  33. I have taken the liberty to include a patch file (from gnu diff -cp)
  34. which fixes the problem for me.
  35.  
  36. Best regards, and thanks for all your efforts.
  37.  
  38. Dave.
  39.  
  40. ------- patch starts here --------------------------
  41. *** tex-make.c    Wed Dec 14 16:20:40 1994
  42. --- tex-make.c.fixed    Wed Dec 14 16:20:58 1994
  43. *************** set_maketex_mag P1H(void)
  44. *** 60,66 ****
  45.     else
  46.       /* m is encoded with LSB being a ``half'' bit (see magstep.h).  Are
  47.          we making an assumption here about two's complement?  Probably.  */
  48. !     sprintf (q, "magstep\\(%d.%d\\)", m / 2, (m & 1) * 5);
  49.     
  50.     xputenv ("MAKETEX_MAG", q);
  51.   }
  52. --- 60,75 ----
  53.     else
  54.       /* m is encoded with LSB being a ``half'' bit (see magstep.h).  Are
  55.          we making an assumption here about two's complement?  Probably.  */
  56. !     /* %%%
  57. !        Sorry 'bout that; for m = -1, for example, we get m/2 = 0, so
  58. !        that magstep 0.5 is generated.  Actually it should be -0.5.
  59. !        The following "minor correction" generates the right size for
  60. !        negative m (i.e. font reduction).
  61. !        Dave Evans --- 12/14/94
  62. !     */
  63. !        
  64. !     sprintf (q, "magstep\\(%s%d.%d\\)", (m<0)?"-":"", m / 2, (m & 1) * 5);
  65.     
  66.     xputenv ("MAKETEX_MAG", q);
  67.   }
  68. ------- this is the end of the patch ---------------